package it.unibo.location;

/**
 * @author ale
 * @version 1.0
 * @created 24-ott-2012 00:47:49
 */
public interface ILocation {

	public double getLatitude();

	public double getLongitude();

	public double getAltitude();

	/**
	 * Returns the approximate distance in meters between this location and the given location. 
	 * @param location the destination location
	 * @return the approximate distance in meters
	 */
	public float distanceTo(ILocation location);

	/**
	 * Returns the accuracy of this location in meters. 
	 */
	public float getAccuracy();

	/**
	 * Returns the UTC time of this location, in milliseconds since January 1, 1970.
	 */
	public long getSampleTime();

	public String toString();

}